package com.quanyan.place.entity.apireq;

import com.quanyan.BaseRequest;
import com.quanyan.orderpay.request.ReqPayInfo;
import com.quanyan.place.mapper.StatementRunningNumMapper;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * Created by Kingson.chan on 2016/5/31 0031.
 */
public class ReqOrderOperate  extends BaseRequest {
    @NotNull
    private String orderNo;
    private String orderSystemNo;

    private Integer uid;
    private String reason;
    @NotNull
    private Integer operateType;
    @NotNull
    private Integer userType ;
    @NotNull
    private Integer placeId;

    private String token;

    private String orderOperateKey;

    private Byte isCallBackOrder;

    private Boolean exceptionFlag; //异常标志

    private String name;

    private String refundOrderNo;//支付中心退款单号

    private boolean updateStock = false;//开单，包场，门票，小商品 支付完成回调是否允许更新库存

    private Date payTime;//支付中心支付时间
    private List<ReqPayInfo> payInfoList;


    private Integer callBackType;//回调类型 1：支付成功回调，2、退款成功回调,3、取消订单
	
    private String outTradeRefundOrderNo;// 场馆业务系统退款单号

/**
	 * @return the outTradeRefundOrderNo
	 */
	public String getOutTradeRefundOrderNo() {
		return outTradeRefundOrderNo;
	}

	/**
	 * @param outTradeRefundOrderNo the outTradeRefundOrderNo to set
	 */
	public void setOutTradeRefundOrderNo(String outTradeRefundOrderNo) {
		this.outTradeRefundOrderNo = outTradeRefundOrderNo;
	}

	public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getExceptionFlag() {
        return exceptionFlag;
    }

    public void setExceptionFlag(Boolean exceptionFlag) {
        this.exceptionFlag = exceptionFlag;
    }

    public Byte getIsCallBackOrder() {
        return isCallBackOrder;
    }

    public void setIsCallBackOrder(Byte isCallBackOrder) {
        this.isCallBackOrder = isCallBackOrder;
    }

    public String getOrderOperateKey() {
        return orderOperateKey;
    }

    public void setOrderOperateKey(String orderOperateKey) {
        this.orderOperateKey = orderOperateKey;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Integer getOperateType() {
        return operateType;
    }

    public void setOperateType(Integer operateType) {
        this.operateType = operateType;
    }

    public String getRefundOrderNo() {
        return refundOrderNo;
    }

    public void setRefundOrderNo(String refundOrderNo) {
        this.refundOrderNo = refundOrderNo;
    }

    public boolean isUpdateStock() {
        return updateStock;
    }

    public void setUpdateStock(boolean updateStock) {
        this.updateStock = updateStock;
    }

    public String getOrderSystemNo() {
        return orderSystemNo;
    }

    public void setOrderSystemNo(String orderSystemNo) {
        this.orderSystemNo = orderSystemNo;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public List<ReqPayInfo> getPayInfoList() {
        return payInfoList;
    }

    public void setPayInfoList(List<ReqPayInfo> payInfoList) {
        this.payInfoList = payInfoList;
    }

    public Integer getCallBackType() {
        return callBackType;
    }

    public void setCallBackType(Integer callBackType) {
        this.callBackType = callBackType;
    }

}
